'''
Created on 20/06/2013

@author: francois
'''
 
graus = input("Digite os graus")
termos = input("Digite a quantidade de termos")
fat = 1
expo = 0

for j in range(1, termos +1):
    for i in range(termos, 1, -1):
        fat *= i
    if expo == 0:
        expo = 1
    else:
        expo += 2     